<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>数据总表</title>
		<link rel="stylesheet" type="text/css" href="../css/home.css" />
		<link rel="stylesheet" type="text/css" href="../css/fontawesome/css/font-awesome.css" />
		<link rel="stylesheet" type="text/css" href="../css/weui.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/jquery-weui.min.css" />
		<link rel="stylesheet" type="text/css" href="../css.page/statistics/statisticsTotalNew.css"/>
		<link rel="stylesheet" type="text/css" href="../css/loading.css" />
	</head>

	<body ontouchstart>
		<div class="statistics-total-searchBar">
			<!--对周数进行筛选-->
			<div class="selectTitle">
				<div class="fa fa-angle-left" @click="backTotal"></div>
				<div>自选查询</div>
			</div>
			<div class="selectFastBtn">
				<div @click="lastWeek">上一周</div>
				<div @click="recentWeek">本周</div>
				<div @click="lastMonth">上一月</div>
				<div @click="recentMouth">本月</div>
				<div @click="lastYear">上一年</div>
			</div>
			<div class="statistics-total-date">
				<div>
					<div class="fa fa-calendar icon"></div>
					<div>起始时间：</div>
					<div class="week" style="margin-left: 5px;">
						<input id="startDate" type="text" v-model="firstDate" placeholder="请选择需查询日期">
					</div>
				</div>
				<div>
					<div class="fa fa-calendar icon"></div>
					<div>结束时间：</div>
					<div class="week" style="margin-left: 5px;">
						<input id="endDate" type="text" v-model="lastDate" placeholder="请选择需查询日期">
					</div>
				</div>
			</div>
			<div class="searchAction">
				<div @click="resetSelect">重置</div>
				<div @click="searchCycle">确定</div>
			</div>
		</div>
		<div class="statistics-total-title">
			<div class="fa fa-angle-left iconBack" @click="back"></div>
			<div class="title">数据统计</div>
		</div>
		<div class="loader">
			<div class="dot"></div>
			<div class="dot"></div>
			<div class="dot"></div>
			<div class="dot"></div>
			<div class="dot"></div>
		</div>
		<div class="statistics-total-body hidden">
			<div class="info" v-if="!isSearch">
				<div class="infoTitle">
					当前周期：{{startYear}}年第{{startWeek}}周&nbsp;&nbsp;{{weekRange.begin}}--{{weekRange.end}}
				</div>
				<div class="selectBtn">筛选</div>
			</div>
			<div class="info" v-if="isSearch">
				<div class="infoTitle">
					统计周期：{{startYear}}年第{{startWeek}}周--{{endYear}}年第{{endWeek}}周
				</div>
				<div class="selectBtn">筛选</div>
			</div>
			<div class="statistics-total-row">
				<div class="type">
					<div class="fa fa-folder-open"></div>
					<div>工程档案</div>
				</div>
				<div class="iconRow">
					<div class="icon" @click="projectDetail('yudengji')">
						<div class="img iconBg1"></div>
						<div class="text">
							<div>预登记</div>
							<div v-bind:class="{'changeWordColor':projectTotal['预登记']!=0}">{{projectTotal["预登记"]}}个</div>
						</div>
					</div>
					<div class="icon" @click="projectDetail('yuyanshou')">
						<div class="img iconBg2"></div>
						<div class="text">
							<div>预验收</div>
							<div v-bind:class="{'changeWordColor':projectTotal['预验收']!=0}">{{projectTotal["预验收"]}}个</div>
						</div>
					</div>
					<div class="icon" @click="projectDetail('yanshou')">
						<div class="img iconBg3"></div>
						<div class="text">
							<div>验收</div>
							<div v-bind:class="{'changeWordColor':projectTotal['验收']!=0}">{{projectTotal["验收"]}}个</div>
						</div>
					</div>
					<div class="icon" @click="projectDetail('zhuantipian')">
						<div class="img iconBg4"></div>
						<div class="text">
							<div>专题片</div>
							<div v-bind:class="{'changeWordColor':projectTotal['专题片']!=0}">{{projectTotal["专题片"]}}个</div>
						</div>
					</div>
				</div>
			</div>
			<!--工程档案结束-->
			<div class="statistics-total-row" v-if="isLeader">
				<div class="type">
					<div class="fa fa-pencil"></div>
					<div>测绘</div>
				</div>
				<div class="iconRow">
					<div class="icon" @click="mapDetail('hetong')">
						<div class="img iconBg5"></div>
						<div class="text">
							<div>签订合同</div>
							<div v-bind:class="{'changeWordColor':mapTotal['签订合同']!=0}">{{mapTotal["签订合同"]}}个</div>
						</div>
					</div>
					<div class="icon" @click="mapDetail('chengguo')">
						<div class="img iconBg6"></div>
						<div class="text">
							<div>交付成果</div>
							<div v-bind:class="{'changeWordColor':mapTotal['交付成果']!=0}">{{mapTotal["交付成果"]}}个</div>
						</div>
					</div>
					<div class="icon" @click="mapDetail('chanzhi')">
						<div class="img iconBg7"></div>
						<div class="text">
							<div>总体款项</div>
							<div v-bind:class="{'changeWordColor':mapTotal['总体款项']!=0}">{{mapTotal["总体款项"]}}万元</div>
						</div>
					</div>
					<div class="icon"></div>
				</div>
			</div>
			<!--测绘结束-->
			<div class="statistics-total-row">
				<div class="type">
					<div class="fa fa-exchange"></div>
					<div>地下管线</div>
				</div>
				<div class="iconRow">
					<div class="icon" @click="lineDetail('chaxun')">
						<div class="img iconBg8"></div>
						<div class="text">
							<div>查询</div>
							<div v-bind:class="{'changeWordColor':lineTotal['查询']!=0}">{{lineTotal["查询"]}}km</div>
						</div>
					</div>
					<div class="icon" @click="lineDetail('ruku')">
						<div class="img iconBg9"></div>
						<div class="text">
							<div>入库</div>
							<div v-bind:class="{'changeWordColor':lineTotal['入库']!=0}">{{lineTotal["入库"]}}km</div>
						</div>
					</div>
					<div class="icon" @click="lineDetail('zongbiao')">
						<div class="img iconBg17"></div>
						<div class="text">
							<div>数据总表</div>
							<div v-bind:class="{'changeWordColor':lineZongBiaoSum['当前']!=0}">{{lineZongBiaoSum["当前"]}}km</div>
						</div>
					</div>
					<div class="icon"  @click="lineDetail('gongye')">
						<div class="img iconBg18"></div>
						<div class="text">
							<div>长输工业管线</div>
							<div v-bind:class="{'changeWordColor':lineGuanXianSum['当前']!=0}">{{lineGuanXianSum["当前"]}}km</div>
						</div>
					</div>
				</div>
			</div>
			<!--地下管线结束-->
			<div class="statistics-total-row">
				<div class="type">
					<div class="fa fa-file-text"></div>
					<div>档案管理</div>
				</div>
				<div class="iconRow">
					<div class="icon" @click="fileDetail('chaxun')">
						<div class="img iconBg10"></div>
						<div class="text">
							<div>查询</div>
							<div v-bind:class="{'changeWordColor':fileSearchTotal['局内']+fileSearchTotal['局外']!=0}">{{fileSearchTotal["局内"]+fileSearchTotal["局外"]}}次</div>
						</div>
					</div>
					<div class="icon" @click="fileDetail('jieshou')">
						<div class="img iconBg11"></div>
						<div class="text">
							<div>接收</div>
							<div v-bind:class="{'changeWordColor':fileTreeTotal.jieshouNow!=0}">{{fileTreeTotal.jieshouNow}}卷</div>
						</div>
					</div>
					<div class="icon" @click="fileDetail('ruku')">
						<div class="img iconBg12"></div>
						<div class="text">
							<div>入库</div>
							<div v-bind:class="{'changeWordColor':fileTreeTotal.rukuNow!=0}">{{fileTreeTotal.rukuNow}}卷</div>
						</div>
					</div>
					<div class="icon"  @click="fileDetail('guancang')">
						<div class="img iconBg13"></div>
						<div class="text">
							<div>馆藏</div>
							<div v-bind:class="{'changeWordColor':fileTreeTotal.guancangNow!=0}">{{fileTreeTotal.guancangNow}}卷</div>
						</div>
					</div>
				</div>
			</div>
			<!--档案管理结束-->
			<div class="statistics-total-row">
				<div class="type">
					<div class="fa fa-book"></div>
					<div>馆内公文</div>
				</div>
				<div class="iconRow">
					<div class="icon" @click="bookDetail('shouwen')">
						<div class="img iconBg14"></div>
						<div class="text">
							<div>收文</div>
							<div v-bind:class="{'changeWordColor':bookTotal['收文']!=0}">{{bookTotal["收文"]}}次</div>
						</div>
					</div>
					<div class="icon" @click="bookDetail('fawen')">
						<div class="img iconBg15"></div>
						<div class="text">
							<div>发文</div>
							<div v-bind:class="{'changeWordColor':bookTotal['发文']!=0}">{{bookTotal["发文"]}}次</div>
						</div>
					</div>
					<div class="icon">

					</div>
					<div class="icon">

					</div>
				</div>
			</div>
			<!--馆内公文结束-->
			<div class="statistics-total-row" style="margin: 0px 0px 10px 0px;">
				<div class="type">
					<div class="fa fa-list-ul"></div>
					<div>其他统计</div>
				</div>
				<div class="iconRow">
					<div class="icon" @click="otherDetail('jiya')">
						<div class="img iconBg21"></div>
						<div class="text">
							<div>工程档案积压</div>
							<div v-bind:class="{'changeWordColor':otherTotal['档案积压']!=0}">{{otherTotal["档案积压"]}}卷</div>
						</div>
					</div>
					<div class="icon" @click="otherDetail('zoufang')">
						<div class="img iconBg20"></div>
						<div class="text">
							<div>管线单位走访</div>
							<div v-bind:class="{'changeWordColor':otherTotal['管线走访']!=0}">{{otherTotal["管线走访"]}}个</div>
						</div>
					</div>
					<div class="icon" @click="otherDetail('qita')">
						<div class="img iconBg19"></div>
						<div class="text">
							<div>其他类案卷</div>
							<div v-bind:class="{'changeWordColor':otherTotal['其他档案']!=0}">{{otherTotal["其他档案"]}}卷</div>
						</div>
					</div>
					<div class="icon">
					</div>
				</div>
			</div>
		</div>
	</body>
	<script src="../js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/fastclick.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/jquery-weui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/calender.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js.page/statistics/statisticsTotal.js" type="text/javascript" charset="utf-8"></script>

</html>